﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using ChoViet.Lib.Paging;
using ChoViet.Model;

namespace ChoViet.CMS.ViewModels
{

    #region Site: User
    public class UserRegisterViewModel
    {
        public User User { get; set; }
        public List<Country> Countries {get;set;}
        public List<City> Cities { get; set; }
        public List<District> District { get; set; }
    }
    public class UsermanageViewModel
    {
        public User User { get; set;}
        public List<Ad> Ads {get; set;}
    }
    #endregion
    #region
    public class UserIndexCmsViewModel
    {
        public IPagedList<User> Users {get;set;}
        public string Keyword;
        public Dictionary<object, object> ListActiveYN = new Dictionary<object, object>();
        public Dictionary<object, object> ListOperation = new Dictionary<object, object>();
        public int ActiveYN { get; set; }
        public int OperationYN { get; set;}
    }
    #endregion

}
